#set(title = "添加文章")
#@layoutToo()
#define main()
<div class="tab-content-wrap clearfix" style="text-align: left">
    <form class="add-tpl-form" action="/blog/admin/addContent"  method="post" enctype="multipart/form-data">
        <table class="table tpl-table table-td-break ">
            <tr>
                <td>
                    blog标题
                </td>
                <td>
                    <input id="title" name="title" type="text" class="state1" style="width: 300px;height: 50px" >
                </td>
            <tr>
                <td>
                    关键字
                </td>
                <td>
                    <input id="keywords" name="keywords" type="text" class="state1" style="width: 200px;height: 50px" >
                </td>
            </tr>
            <tr>
                <td>
                    原创OR转载
                </td>
                <td>
                    <select  id="alias" name="alias" class="state1" >
                        <option value="">请选择</option>
                        <option value="原创">原创</option>
                        <option value="转载">转载</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    摘要
                </td>
                <td>
                    <input id="digest" name="digest" type="text" class="state1"  style="width:400px;height:100px" >
                </td>
            </tr>
            <tr>
                <td>
                    内容
                </td>
                <td>
                    #@layoutAdd()
                    end
                <td>
            </tr>
            <tr>
                <td>
                    添加图片(必填)
                </td>
                <td>
                    <input type="file" id="file" name="file" class="state1" >
                    <input type="text" style="width: 260px" name="message" class="noNull"  placeholder="请添加图片文字说明或者信息">
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="保存" class="submit"  id="submit"
                           style="margin-left: 50px;float: left;"/>&nbsp;
                    <input type="reset" value="取消" class="btn btn-cancel" id="cancel" style="float: left">
                </td>
            </tr>
        </table>
    </form>
</div>
#end